package com.shiwaixiangcun.monitor.repository;

import com.rabbit.spring.data.repository.GenericJpaRepository;
import com.shiwaixiangcun.monitor.domain.User;

public interface UserRepository extends GenericJpaRepository<User, Long> {

    User findByName(String name);

    User findByPhone(String phone);
}
